<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0, user-scalable=no">
    <title>学校管理</title>
    <link rel="stylesheet" href="../css/base.css">
    <link rel="stylesheet" href="../css/d_schoolManagement.css">
</head>

<body>

    <!--内容-->
    <div class="container-fluid content">
        <div class="row">
            <div class="">
                <!--标题-->
                <div class="d_title">
                    <p>学校管理</p>
                </div>
                <!--按钮-->
                <div class="btns">
                    <button type="button" class="btn btn-primary" id="luru">录入新学校</button>
                    <button type="button" class="btn btn-primary" id="addCommunication">添加沟通记录</button>
                    <button type="button" class="btn btn-primary" id="applyLiXiang">申请立项</button>
                    <button type="button" class="btn btn-primary" id="shenhe">审核</button>
                </div>
                <!--学校管理主体-->
                <div class="d_content ">

                    <!--左边下拉列表-->
                    <div class="d_listContent ">
                        <ul id="d_list">

                        </ul>
                    </div>

                    <!--右边表格-->
                    <div class="d_tableContent ">
                        <!--响应式表格-->
                        <!--表格-->
                        <table class="table  tableAll">
                            <thead>
                                <tr>
                                    <th>学校名称</th>
                                    <th>校长</th>
                                    <th>录入时间</th>
                                    <th>状态</th>
                                    <th>操作</th>
                                </tr>
                            </thead>
                            <tbody>
                                <!--<tr>
                                    <td>成都第三中学</td>
                                    <td>肖明</td>
                                    <td>2012-04-15</td>
                                    <td>接洽</td>
                                    <td>
                                        <button class="btn btn-default lookBtn" type="submit" data-toggle="modal" data-target="#chakanModal">查看</button>
                                        &lt;!&ndash;<button class="btn btn-default addBtn" type="submit">增加</button>&ndash;&gt;
                                        <button class="btn btn-default updateBtn" type="submit" data-toggle="modal" data-target="#updateModal">修改</button>
                                        <button class="btn btn-default delBtn" type="submit">删除</button>
                                    </td>
                                </tr>
                                <tr>
                                    <td>成都第十二中学</td>
                                    <td>陆航</td>
                                    <td>2012-02-13</td>
                                    <td>待审</td>
                                    <td>
                                        <button class="btn btn-default lookBtn" type="submit">查看</button>
                                        &lt;!&ndash;<button class="btn btn-default addBtn" type="submit">增加</button>&ndash;&gt;
                                        <button class="btn btn-default updateBtn" type="submit">修改</button>
                                        <button class="btn btn-default delBtn" type="submit">删除</button>
                                    </td>
                                </tr>-->
                            </tbody>

                        </table>

                    </div>

                </div>
            </div>
        </div>
    </div>

    <!--录入学校模态框-->
    <div class="modal fade" tabindex="-1" role="dialog" id="luruModal">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <!--模态框头部-->
                <div class="modal-header">
                    <!--<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>-->
                    <h4 class="modal-title">录入新学校</h4>
                </div>
                <!--模态框内容-->
                <div class="modal-body clearfix">
                    <!--表单-->
                    <form>
                        <!--左边-->
                        <div class="left form-group modal_left">
                            学校名称 <span class="star">*</span>：<input type="text" class="form-control" id="sname"><span></span><br/> 学校地址：
                            <input type="text" class="form-control" id="saddr"><br/> 联系电话 <span class="star">*</span>：<input type="text" class="form-control" id="tel"><span></span><br/> 老师人数：
                            <input type="text" class="form-control" id="tnum"><br/> 宽带流量：
                            <input type="text" class="form-control" id="kdll"><br/> 负责部门：
                            <select name="" class="form-control" id="fuzebumen">
                            </select><br/> 负&nbsp;&nbsp;责&nbsp;&nbsp;人：
                            <select class="form-control" id="fuzeren">
                            </select><br/>
                        </div>
                        <!--右边-->
                        <div class="right form-group modal_right">
                            所属城市：
                            <select name="" class="form-control" id="suoshuchengshi">

                            </select><br/> 校&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;长：
                            <input type="text" class="form-control" id="hm"><br/> 学生人数：
                            <input type="text" class="form-control" id="stunum"><br/> IP&nbsp;&nbsp;地&nbsp;&nbsp;址：
                            <input type="text" class="form-control" id="ip"><br/> 状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：
                            <input type="text" class="form-control" id="zt" placeholder="接洽中" readonly><br/> 录入时间：
                            <input type="date" class="form-control" id="lutime"><br/>
                            <span>说&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;明：</span><textarea class="form-control" rows="3" id="shuoming"></textarea><br/>
                        </div>
                    </form>
                </div>
                <!--模态框底部-->
                <div class="modal-footer luruBottom" id="modal-footer">
                    <button type="button" class="btn btn-primary" id="addschool">添加</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>

    <!--修改学校信息模态框-->
    <div class="modal fade" tabindex="-1" role="dialog" id="updateModal">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <!--模态框头部-->
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">修改学校信息</h4>
                </div>
                <!--模态框内容-->
                <div class="modal-body clearfix">
                    <!--表单-->
                    <form>
                        <!--左边-->
                        <div class="left form-group modal_left">
                            学校名称：<span id="updateSchool"></span><br/> 学校地址：
                            <span id="updateAddr"></span><br/> 所属城市：
                            <span id="updateCity"></span><br/> 录入时间：
                            <span id="updateshijian"></span><br/> 负责部门：
                            <span id="updatebumen"></span><br/> 负&nbsp;&nbsp;责&nbsp;&nbsp;人：
                            <span id="updatefuzeren"></span><br/> 状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：
                            <span id="updatezhuangtai"></span><br/> 说&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;明：
                            <span id="updateshuoming"></span><br/> 申请立项时间：
                            <span id="updatelixiang"></span><br/> 立项批准时间：
                            <span id="updateAllow"></span><br/>
                        </div>
                        <!--右边-->
                        <div class="right form-group modal_right changewidth">

                            联系电话：<input type="text" class="form-control" id="updatetel"> <br/> 校&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;长：
                            <input type="text" class="form-control" id="updatexiaozhang"> <br/> 老师人数：
                            <input type="text" class="form-control" id="updatelaoshi"> <br/> 学生人数：
                            <input type="text" class="form-control" id="updatexuesheng"> <br/> 宽带流量：
                            <input type="text" class="form-control" id="updatekuandai"> <br/> IP&nbsp;&nbsp;地&nbsp;&nbsp;址：
                            <input type="text" class="form-control" id="updateId"> <br/> 审批意见：

                            <span id="updateAdvice"></span><br/>

                        </div>
                    </form>
                </div>
                <!--模态框底部-->
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" id="yesUpdate">确认修改</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                </div>
            </div>
        </div>
    </div>

    <!--查看信息模态框-->
    <div class="modal fade" tabindex="-1" role="dialog" id="chakanModal">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <!--模态框头部-->
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">查看学校信息</h4>
                </div>
                <!--查看信息内容-->
                <div class="modal-body clearfix">
                    <!--左边-->
                    <div class="left form-group modal_left">
                        学校名称：<span id="lookSchool"></span><br/> 学校地址：
                        <span id="lookAddr"></span><br/> 所属城市：
                        <span id="lookCity"></span><br/> 录入时间：
                        <span id="lookshijian"></span><br/> 负责部门：
                        <span id="lookbumen"></span><br/> 负&nbsp;&nbsp;责&nbsp;&nbsp;人：
                        <span id="lookfuzeren"></span><br/> 状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：
                        <span id="lookzhuangtai"></span><br/> 申请立项时间：

                        <span id="looklixiang"></span><br/> 立项批准时间：
                        <span id="lookAllow"></span><br/>

                    </div>
                    <!--右边-->
                    <div class="right form-group modal_right">
                        联系电话：<span id="looktel"></span><br/> 校&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;长：
                        <span id="lookxiaozhang"></span><br/> 老师人数：
                        <span id="lookteaNum"></span><br/> 学生人数：
                        <span id="lookstuNum"></span><br/> 宽带流量：
                        <span id="lookkuandai"></span><br/> IP&nbsp;&nbsp;地&nbsp;&nbsp;址：
                        <span id="lookip"></span><br/> 说&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;明：
                        <span id="lookshuoming"></span><br/> 审批意见：

                        <span id="lookAdvice"></span><br/>
                    </div>

                </div>
                <div class="dingwei">
                    <span id="goutongjilu">沟通记录</span>
                    <!--沟通记录表格-->
                    <table class="table table-bordered tableRecord">
                        <thead>
                            <tr>
                                <th>时间</th>
                                <th>校方联系人</th>
                                <th>职务</th>
                                <th>沟通人</th>
                                <th>沟通内容</th>
                            </tr>
                        </thead>
                        <tbody>

                        </tbody>
                    </table>
                </div>


                <!--下-->
                <div class="modal-footer" id="modal-footer_chakan">
                    <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>

    <!--添加沟通记录模态框-->
    <div class="modal fade" tabindex="-1" role="dialog" id="addCommunicationModal">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <!--模态框头部-->
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">添加沟通记录</h4>
                </div>

                <!--内容-->
                <div class="center">
                    沟&nbsp;通&nbsp;时&nbsp;间&nbsp; <span class="star">*</span>：<input type="date" class="form-control" id="comtime"><span></span><br/> 校方联系人 <span class="star">*</span>：<input type="text" class="form-control" id="comxiaofang"><span></span><br/>                    职&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;务 <span class="star">*</span>：<input type="text" class="form-control" id="comzhiwu"><span></span><br/> 联&nbsp;&nbsp;&nbsp;系&nbsp;&nbsp;&nbsp;&nbsp;人 <span class="star">*</span>：
                    <input type="text" class="form-control" id="comlainxiren"><span></span><br/>
                    <span>内&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;容：</span><textarea class="form-control" rows="3" id="shuomings"></textarea>
                </div>
                <!--下-->
                <div class="modal-footer" id="modal-footer_goutong">
                    <button type="button" class="btn btn-primary addGTJL">添加</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>

    <!--立项申请模态框-->
    <div class="modal fade" tabindex="-1" role="dialog" id="lixiangModal">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <!--模态框头部-->
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">立项申请</h4>
                </div>

                <!--内容-->
                <div class="center">
                    <div class="applyLiXiang">
                        <span id="schname"></span>
                    </div>

                </div>
                <!--下-->
                <div class="modal-footer" id="modal-footer_立项">
                    <button type="button" class="btn btn-primary " id="yesLiXiang">确定</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>

    <!--审核-->
    <div class="modal fade" tabindex="-1" role="dialog" id="shenheModal">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <!--模态框头部-->
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">审批学校</h4>
                </div>
                <!--查看信息内容-->
                <div class="modal-body clearfix">
                    <!--左边-->
                    <div class="left form-group modal_left">
                        学校名称：<span id="shenSchool"></span><br/> 学校地址：
                        <span id="shenAddr"></span><br/> 所属城市：
                        <span id="shenCity"></span><br/> 录入时间：
                        <span id="shentime"></span><br/> 负责部门：
                        <span id="shenbumen"></span><br/> 负&nbsp;&nbsp;责&nbsp;&nbsp;人：
                        <span id="shenfuzeren"></span><br/> 状&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;态：
                        <span id="shenzhuangtai"></span><br/> 申请立项时间：

                        <span id="shenlixiang"></span><br/>

                    </div>
                    <!--右边-->
                    <div class="right form-group modal_right">
                        联系电话：<span id="shentel"></span><br/> 校&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;长：
                        <span id="shenxiaozhang"></span><br/> 老师人数：
                        <span id="shenteaNum"></span><br/> 学生人数：
                        <span id="shenstuNum"></span><br/> 宽带流量：
                        <span id="shenkuandai"></span><br/> IP&nbsp;&nbsp;地&nbsp;&nbsp;址：
                        <span id="shenip"></span><br/> 说&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;明：
                        <span id="shenshuoming"></span><br/> 审批意见 <span class="star">*</span>：<textarea id="shenAdvice" class="form-control"></textarea><span></span><br/>
                    </div>

                </div>

                <!--下-->
                <div class="modal-footer" id="modal-footer_shenpi">
                    <button type="button" class="btn btn-primary" id="pizhun">批准立项</button>
                    <button type="button" class="btn btn-primary" id="bohui">驳回立项</button>
                    <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                </div>
            </div>
            <!-- /.modal-content -->
        </div>
        <!-- /.modal-dialog -->
    </div>

    <!--错误提示模态框1-->
    <div class="modal fade" tabindex="-1" role="dialog" id="tishiModal1">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">错误提示</h4>
                </div>
                <div class="modal-body">
                    <p>请选择立项目标</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
                </div>
            </div>
        </div>
    </div>

    <!--错误提示模态框2-->
    <div class="modal fade" tabindex="-1" role="dialog" id="tishiModal2">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">错误提示</h4>
                </div>
                <div class="modal-body">
                    <p>请选择状态为待审的审核目标</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
                </div>
            </div>
        </div>
    </div>

    <!--错误提示模态框3-->
    <div class="modal fade" tabindex="-1" role="dialog" id="tishiModal3">
        <div class="modal-dialog" role="document">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                    <h4 class="modal-title">错误提示</h4>
                </div>
                <div class="modal-body">
                    <p>请选择添加沟通记录的学校</p>
                </div>
                <div class="modal-footer">
                    <button type="button" class="btn btn-primary" data-dismiss="modal">确定</button>
                </div>
            </div>
        </div>
    </div>

    <!--js-->
    <script src="../js/jquery-3.5.1.js"></script>
    <script src="../js/bootstrap.js"></script>

    <!--<script src="../js/shuju.js"></script>-->

    <script src="../js/d_schoolManagement.js"></script>
</body>

</html>